{php}
	require 'modules/EasyGoogleMap.class.php';
	
	echo 'hola';
	
	if(isset($_POST['direccion'])){
		$key ="AIzaSyAjb5EbTyJGAF0e5W9R9fM8a5w0_DMIIVQ";
		$gm = new EasyGoogleMap($key);
	
		$direccion = $_GET['direccion'];
		$direccion .= "Cordoba, Argentina";
	
		$gm->SetMapZoom(16);	
		$gm->mScale = FALSE;
		$gm->SetMarkerIconStyle('GT_PILLOW');
		$gm->SetMarkerIconColor('YOSEMITE');
		$gm->SetAddress($direccion);
		$gm->SetInfoWindowText("Delivery 1");


		echo $gm->GmapsKey();
		echo $gm->MapHolder();
		echo $gm->InitJs();
		echo $gm->UnloadMap();	
	}

		
{/php}